package com.gs.xbinfomytest.entity.dsl;

import com.gitee.hengboy.mybatis.enhance.dsl.expression.ColumnExpression;
import com.gitee.hengboy.mybatis.enhance.dsl.expression.TableExpression;
import com.gs.xbinfomytest.entity.SysMenu;

/**
 * 菜单权限表
 * @author ApiBoot Mybatis Enhance Codegen
 */
public class DSysMenu extends TableExpression<SysMenu> {

    public DSysMenu(String root) {
        super(root);
    }

    public static DSysMenu DSL() {
        return new DSysMenu("sys_menu");
    }

    /**
     * 菜单ID
     */
    public ColumnExpression menuId = new ColumnExpression("menu_id", this);
    /**
     * 菜单名称
     */
    public ColumnExpression menuName = new ColumnExpression("menu_name", this);
    /**
     * 父菜单ID
     */
    public ColumnExpression parentId = new ColumnExpression("parent_id", this);
    /**
     * 显示顺序
     */
    public ColumnExpression orderNum = new ColumnExpression("order_num", this);
    /**
     * 请求地址
     */
    public ColumnExpression url = new ColumnExpression("url", this);
    /**
     * 打开方式（menuItem页签 menuBlank新窗口）
     */
    public ColumnExpression target = new ColumnExpression("target", this);
    /**
     * 菜单类型（M目录 C菜单 F按钮）
     */
    public ColumnExpression menuType = new ColumnExpression("menu_type", this);
    /**
     * 菜单状态（0显示 1隐藏）
     */
    public ColumnExpression visible = new ColumnExpression("visible", this);
    /**
     * 权限标识
     */
    public ColumnExpression perms = new ColumnExpression("perms", this);
    /**
     * 菜单图标
     */
    public ColumnExpression icon = new ColumnExpression("icon", this);
    /**
     * 创建者
     */
    public ColumnExpression createBy = new ColumnExpression("create_by", this);
    /**
     * 创建时间
     */
    public ColumnExpression createTime = new ColumnExpression("create_time", this);
    /**
     * 更新者
     */
    public ColumnExpression updateBy = new ColumnExpression("update_by", this);
    /**
     * 更新时间
     */
    public ColumnExpression updateTime = new ColumnExpression("update_time", this);
    /**
     * 备注
     */
    public ColumnExpression remark = new ColumnExpression("remark", this);
    @Override
    public ColumnExpression[] getColumns() {
        return new ColumnExpression[]{menuId, menuName, parentId, orderNum, url, target, menuType, visible, perms, icon, createBy, createTime, updateBy, updateTime, remark};
    }

}

